package com.yida.gwj.expend.outside.mapper;

import com.yida.gwj.common.domain.GwjBaseBuild;
import com.yida.gwj.expend.outside.domain.dto.GwjHouseOwnerListDTO;
import com.yida.gwj.expend.outside.domain.request.GwjHouseOwnerListRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 业务小区信息Mapper接口
 *
 * @author lgp
 * @date 2023-02-20
 */
@Mapper
public interface GwjMaintenanceFundsBusinessInnerMapper {

    /**
     * 批量查询build  可根据楼栋名称模糊查询
     *
     * @param gwjBaseBuild gwj基础楼栋对象
     * @return {@link List}<{@link GwjBaseBuild}>
     */
    List<GwjBaseBuild> selectGwjBaseBuildListByCommunityIdBuildName(GwjBaseBuild gwjBaseBuild);

    /**
     * 小区业主信息管理 查询业主及其房屋信息列表
     *
     * @param houseAndOwnerListRequest 查询条件
     * @return List<GwjMaintenanceFundsBusinessCommunityDTO> 结果列表
     */
    List<GwjHouseOwnerListDTO> selectHouseAndOwnerList(GwjHouseOwnerListRequest houseAndOwnerListRequest);

}
